package com.guan.ordering_sys.generator.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="GoodsParameter对象", description="")
public class GoodsParameter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品参数编号")
    @TableId(value = "goods_parameter_id", type = IdType.AUTO)
    private Long goodsParameterId;

    @ApiModelProperty(value = "商品参数以json格式存储")
    private String goodsValue;

    @ApiModelProperty(value = "商品编号")
    private Long goodsId;


}
